package com.beiming.libra.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.beiming.libra.base.MyMapper;
import com.beiming.libra.domain.Role;
import com.beiming.libra.domain.UserRoleRelation;

@Mapper
public interface UserRoleRelationMapper extends MyMapper<UserRoleRelation> {

  List<UserRoleRelation> listByUserId(String userId);

  /**
   * 获取用户角色信息
   * 
   * @param userId
   */
  List<Role> getRoleInfoByUserIdMapper(String userId);
}
